package com.usian.service;

import com.usian.pojo.TbContentCategory;
import com.usian.utils.PageResult;

import java.util.List;

/**
 * @Author lpf
 * @Date 2022/3/24 下午12:57
 * @ProjectName java134-e-commerce-project
 * @Version 1.0
 * @Description:
 */

public interface ContentCategoryService {
    List<TbContentCategory> selectContentCategoryByParentId(long id);

    Integer insertContentCategory(TbContentCategory tbContentCategory);


    /**
     * 根据id删除内容管理
     * @param categoryId
     * @return
     * @Auth fgg
     */
    Integer deleteContentCategoryById(Long categoryId);
}
